package com.zw.design.pattern.creational.structural.decorator.v1;

public class BattercakeWithEggSausage extends BattercakeWithEgg{

    @Override
    public String getDesc() {
        return "加入火腿"+super.getDesc();
    }

    @Override
    public int cost() {
        return 2+super.cost();
    }
}
